var tPublic;
var tFriends;
var tInbox;
var tSent;

// scroll public timeline
function scrollPublicTimeline(preload) {
	getTimeline('public',1,preload);
	tPublic=setTimeout("scrollPublicTimeline('no')",30000);
}

// scroll friends timeline
function scrollFriendsTimeline(preload) {
	getTimeline('friends',1,preload);
	tFriends=setTimeout("scrollFriendsTimeline('no')",30000);
}

// scroll inbox timeline
function scrollInboxTimeline(preload) {
	getTimeline('inbox',1,preload);
	tInbox=setTimeout("scrollInboxTimeline('no')",30000);
}

// scroll sent timeline
function scrollSentTimeline(preload) {
	getTimeline('sent',1,preload);
	tSent=setTimeout("scrollSentTimeline('no')",30000);
}

function stopScroll() {
	clearTimeout(tPublic);
	clearTimeout(tFriends);
	clearTimeout(tInbox);
	clearTimeout(tSent);
}